<style type="text/css">
.content{
    background: #f1f4f6;
}
body.is-dialog {
    background: #f1f4f6;
}
.box{
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: 3px solid #ffffff;
}
.text_div{
    padding-top: 7px;
}
.plupload-preview li, .faupload-preview li{
     margin-top: 0px;
     margin-bottom: 0px;
}
.li_div{
    float: left;
}
.li_div_info{
    float: right;
    padding-left: 10px;
    padding-top: 17px;
}
</style>
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
<div class="box">
    
    <div class="panel-heading">商家基本信息</div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">商家頭像:</label>
        <div class="col-xs-12 col-sm-8">
            <ul class="row list-inline faupload-preview" id="p-logo">
                <li class="li_div">
                    <div class="li_div">
                        <a href="{:cdnurl($row.logo, true)}" target="_blank" class="thumbnail">
                            <img src="{:cdnurl($row.logo, true)}" class="img-responsive">
                        </a>
                    </div>
                </li>
            </ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">商家名稱:</label>
        <div class="col-xs-12 col-sm-8"><div class="text_div">{$row.name}</div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">公司地址:</label>
        <div class="col-xs-12 col-sm-8"><div class="text_div">{$row.address_detail}</div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">手機號:</label>
        <div class="col-xs-12 col-sm-8"><div class="text_div">{$row.mobile}</div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">法人姓名:</label>
        <div class="col-xs-12 col-sm-8"><div class="text_div">{$row.name}</div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">經營類目:</label>
        <div class="col-xs-12 col-sm-8"><div class="text_div">{$row.cat_name}</div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">身份證號碼:</label>
        <div class="col-xs-12 col-sm-8"><div class="text_div">{$row.id_card}</div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">身份證照片:</label>
        <div class="col-xs-12 col-sm-8">
            <ul class="row list-inline faupload-preview">
                <li class="li_div">
                    <div class="li_div">
                        <a href="{:cdnurl($row.id_card_positive_images, true)}" target="_blank" class="thumbnail">
                            <img src="{:cdnurl($row.id_card_positive_images, true)}" class="img-responsive">
                        </a>
                    </div>
                    <div class="li_div">
                        <a href="{:cdnurl($row.id_card_back_images, true)}" target="_blank" class="thumbnail">
                            <img src="{:cdnurl($row.id_card_back_images, true)}" class="img-responsive">
                        </a>
                    </div>
                </li>
            </ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">營業執照:</label>
        <div class="col-xs-12 col-sm-8">
            <ul class="row list-inline faupload-preview">
                <li class="li_div">
                    <div class="li_div">
                        <a href="{:cdnurl($row.yyzz_images, true)}" target="_blank" class="thumbnail">
                            <img src="{:cdnurl($row.yyzz_images, true)}" class="img-responsive">
                        </a>
                    </div>
                </li>
            </ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">回鄉證號碼:</label>
        <div class="col-xs-12 col-sm-8"><div class="text_div">{$row.return_permit}</div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">回鄉證照片:</label>
        <div class="col-xs-12 col-sm-8">
            <ul class="row list-inline faupload-preview">
                <li class="li_div">
                    <div class="li_div">
                        <a href="{:cdnurl($row.return_permit_positive_images, true)}" target="_blank" class="thumbnail">
                            <img src="{:cdnurl($row.return_permit_positive_images, true)}" class="img-responsive">
                        </a>
                    </div>
                    <div class="li_div">
                        <a href="{:cdnurl($row.return_permit_back_images, true)}" target="_blank" class="thumbnail">
                            <img src="{:cdnurl($row.return_permit_back_images, true)}" class="img-responsive">
                        </a>
                    </div>
                </li>
            </ul>
        </div>
    </div>

    {if $row.status  == 2}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">賬號:</label>
        <div class="col-xs-12 col-sm-8"><div class="text_div">{$row.username}</div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">密碼:</label>
        <div class="col-xs-12 col-sm-8"><div class="text_div">{$row.password}</div>
        </div>
    </div>
    {/if}

</div>

        <div class="box">
        <div class="panel-heading">提現賬戶信息</div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2"><a style="color: red" >*</a>銀行賬戶:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-bank_account" data-rule="required" class="form-control" name="row[bank_account]" type="text" value="{$row.bank_account|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2"><a style="color: red" >*</a>開戶銀行名稱:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-bank_name" data-rule="required" class="form-control" name="row[bank_name]" type="text" value="{$row.bank_name|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2"><a style="color: red" >*</a>戶主名稱:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-bank_account_name" data-rule="required" class="form-control" name="row[bank_account_name]" type="text" value="{$row.bank_account_name|htmlentities}">
                </div>
            </div>
        </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>